package top.leyi.IService;

import top.leyi.entity.Talk.SimpleTalk;
import top.leyi.entity.pushAndColle.Collection0;
import top.leyi.entity.user.User;

import java.util.List;

public interface ICollectionService {

    /**
     * @desc 查询个人收藏
     * @param user
     * @return
     */
    public List<Collection0>  getAllCollection(User user, int page);
    /**
     * @desc 添加个人收藏
     * @param user
     * @return
     */
     public void addOneCollection(  Collection0 collection0, User user);
    /**
     * @desc 移除个人收藏
     * @param user
     * @return
     */
     public void removeCollection(Collection0 collection0, User user);

}
